package ACMProble;

import java.util.Scanner;

public class Pro2039{  
    public static void main(String[] args){  
        Scanner in =new Scanner(System.in);  
        int num=in.nextInt();  
        double[] bian=new double[3];  
        for(int i=0;i<num;i++){  
            for(int j=0;j<3;j++){  
                bian[j]=in.nextDouble();  
            }  
            if((bian[0]+bian[1]>bian[2])&&(bian[2]+bian[1]>bian[0])&&(bian[0]+bian[2]>bian[1])){  
                System.out.println("YES");  
            }  
            else{  
                System.out.println("NO");  
            }  
        }  
        in.close();
    }  
}  
